package com.java.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 投放订单（预约单）
 */
@Data
public class Booking extends PageParam{

    private Integer id;
    /*关联申请单ID*/
    private Integer applyId;
    /*预约投放时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date bookingTime;
    /*备注*/
    private String remark;
    /*预约单状态 1-待投放 2-已投放 3-已完成*/
    private Integer status;
    /*创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /*投放申请单对象*/
    private Apply apply;

    /*广告组*/
    private AdvertisersAccount advertisersAccount;

    /*投放价格*/
    private Price price;

    /*媒体主*/
    private MediaAccount mediaAccount;
}
